<table class="show_list">
<div>
<script>
$(document).ready(function(){
	$("#clear").click(function(){
		$("#select_time").val('');
	})

});
</script>
<form action="index.php" method=get name=frm>
<ul>
<li><dl>车牌号：</dl><dl><input type=text name="auto_guest_name" size=30 value='{%$smarty.get.auto_guest_name%}'></dl></li>
<li>
<dl>时间查询</dl>
<dl>
<select name="select">
{%html_options selected=$smarty.get.select options=$select_array%}

</select>
<input id="select_time" type=text class="input_date_select txt-normal" size="12" name="select_time" id="select_time" size=30 value='{%$smarty.get.select_time%}'>
<script>
		Calendar.setup({
			inputField     :    "select_time",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
<span id="clear">清空</span></li>
<dl>
<li><input type=submit value="查询"><input type=hidden name='c' value='auto_info'></li>
</ul>
</form>
<form action="index.php" method=get name=frm>
<ul>
<li>几日后到期</li>
<li><select name="cha_day">
<option  value="1">1</option>
<option  value="2">2</option>
<option  value="3">3</option>
<option  value="4">4</option>
<option  value="5">5</option>
<option  value="6">6</option>
<option  value="7">7</option>
<option  value="8">8</option>
<option  value="9">9</option>
<option  value="10">10</option>
<option  value="11">11</option>
<option  value="12">12</option>
<option  value="13">13</option>
<option  value="14">14</option>
<option  value="15">15</option>
</select>
</li>
<li><input type=submit value="查询"><input type=hidden name='c' value='auto_info'><input type=hidden name='m' value='chazhao'></li>
</ul>
</form>

</div>

	<tr class="show_title">
				<td>编号</td>
				<td>车号</td>
				<td>客户名称</td>
				<td>年审</td>
				<td>运营年审</td>
				<td>二保</td>
				<td>交强险</td>
				<td>商业险</td>
				<td>电话</td>
				<td>操作</td>
	</tr>
	{%foreach from=$arr item=arr_item%}
	<tr>
				<td>{%$arr_item.bianhao%}</td>
				<td>{%$arr_item.auto_brand%}</td>
				<td>{%$arr_item.auto_guest_name%}</td>
				<td>{%$arr_item.auto_year_time|date_format:"%Y-%m-%d"%}</td>
				<td>{%$arr_item.auto_year_pay_time|date_format:"%Y-%m-%d"%}</td>
				<td>{%$arr_item.auto_two_insurance|date_format:"%Y-%m-%d"%}</td>
				<td>{%$arr_item.jiaoqiangxian|date_format:"%Y-%m-%d"%}</td>
				<td>{%$arr_item.shangyexian|date_format:"%Y-%m-%d"%}</td>
				<td>{%$arr_item.auto_tel1%}</td>
				<td>
		<a href='index.php?c=auto_info&m=edit&is_show=1&auto_id={%$arr_item.auto_id%}'>查看</a>&nbsp;&nbsp;
		<a href='index.php?c=auto_info&m=edit&auto_id={%$arr_item.auto_id%}'>修改</a>&nbsp;&nbsp;
		<a href='index.php?c=auto_info&m=put_notice&id={%$arr_item.auto_id%}'>通知</a>
		<a href='index.php?c=auto_service&m=add&auto_id={%$arr_item.auto_id%}'>服务</a>&nbsp;&nbsp;
		</td>
	</tr>
	{%/foreach%}
</table>
<div>
{%$page_footer%}
</div> 